package com.itszt.manager.dao;

import com.itszt.pojo.TbContent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ITbContentDao extends JpaRepository<TbContent, Long> {
    @Query
    List<TbContent> findByCategoryId(Long categoryId);
}
